﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IRCBot.Messages
{
    public class OutgoingMessage
    {
        public CommandType Command { get; set; }
        public List<string> Parameters { get; set; }
        public DateTime WhenToSend { get; set; }

        public OutgoingMessage(CommandType command)
        {
            Command = command;
            Parameters = new List<string>();
        }

        public OutgoingMessage(CommandType command, List<string> parameters)
        {
            Command = command;
            Parameters = parameters;
        }

        public OutgoingMessage(CommandType command, string parameter1)
        {
            Command = command;
            Parameters = new List<string> { parameter1 };
        }

        public OutgoingMessage(CommandType command, string parameter1, string parameter2)
        {
            Command = command;
            Parameters = new List<string> { parameter1, parameter2 };
        }

        public OutgoingMessage(CommandType command, string parameter1, string parameter2, string parameter3)
        {
            Command = command;
            Parameters = new List<string> { parameter1, parameter2, parameter3 };
        }

        public OutgoingMessage(CommandType command, string parameter1, string parameter2, string parameter3, string parameter4)
        {
            Command = command;
            Parameters = new List<string> { parameter1, parameter2, parameter3, parameter4 };
        }
    }
}
